package com.services;

import com.beans.HouseInfo;
import com.beans.page.PageList;

import java.util.List;

/**
 * @author jiangwei
 * @since 18/1/16
 */
public interface HouseInfoService extends BaseService<HouseInfo> {
    /**
     * 重写房源信息分页查询
     *
     * @param page
     * @param houseInfo
     * @return
     */
    PageList<HouseInfo> queryPageByHouseInfo(PageList<HouseInfo> page, HouseInfo houseInfo);

    List<HouseInfo> queryExists(HouseInfo houseInfo);

}
